Locking and Unlocking Associated Services
To lock or unlock a service, use the Service Details page in Infrastructure Classic Console or Applications Console. Lock and unlock requests may take time to process. You’ll get an email when your request is complete.
Note:
You can lock or unlock a service only if supported by the service type. The Administration tile isn’t displayed on the service details page if the service doesn’t support lock, unlock, or application archiving.
When you lock an Oracle Java Cloud Service, deployed applications and corresponding database objects can’t be accessed, but new applications can still be deployed (access is still restricted until the unlock occurs). Therefore, by locking a Java service, you’re also locking the associated database service.
When you lock an Oracle Database Cloud Service, only the database service is locked, but all user connections are closed. Although the associated Java service doesn't show as locked, users can't connect to the Database service. Thus, the Java service is also locked indirectly.